#ifndef MYHOME_H
#define MYHOME_H

#include <QWidget>
#include "ui_MyHome.h"
#include "MyHomeDlg.h"
#include "DataSou.h"



class MyHome : public QWidget
{
	Q_OBJECT

public:
	MyHome(QWidget *parent = 0);
	~MyHome();

private:
	Ui::MyHome ui;
public slots:
	int OnBtnAdd();
	int OnItemDel();
	int OnClear();

	int OnSelect();

	int Receive();

public:
	MyHomeDlg *dlg;
	DataSou *database;

	virtual void timerEvent(QTimerEvent *event);
	int timerid;


};

#endif // MYHOME_H
